package com.xhai.common.constant;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author xhai
 * @description 通用常量
 * @date 2025/5/24
 */
@Schema(description = "通用常量")
public class Constants {
    /**
     ******************字段排序方向**********************
     * 字段正序排序,ASC
     * 字段倒序排序,DESC
     */
    /**
     * 字段正序排序
     */
    @Schema(description = "字段正序排序")
    public static final String COLUMN_ASC_ORDER = "ASC";
    /**
     * 字段倒序排序
     */
    @Schema(description = "字段倒序排序")
    public static final String COLUMN_DESC_ORDER = "DESC";

    /**
     * 未知ip地址
     */
    @Schema(description = "未知ip地址")
    public static final String IP_UNKNOWN = "unknown";

    /**
     * 登录信息token
     */
    @Schema(description = "登录信息token")
    public static final String LOGIN_USER_KEY = "login_user_key";
}
